package com.yst.system.domain;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.yst.common.annotation.Excel;
import com.yst.common.core.domain.BaseEntity;

/**
 * 订单详情对象 sell_order_detail
 * 
 * @author hoj
 * @date 2024-05-10
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sell_order_detail")
public class SellOrderDetail extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 销售订单详情id */
    @TableId(value = "sell_order_detail_id",type = IdType.AUTO)
    private Long sellOrderDetailId;

    /** 销售订单id */
    @Excel(name = "销售订单id")
    @TableField("sell_order_id")
    private Long sellOrderId;

    /** 型号 */
    @Excel(name = "型号")
    @TableField("item_model")
    private String itemModel;

    /** 名称 */
    @Excel(name = "名称")
    @TableField("item_name")
    private String itemName;

    /** 规格 */
    @Excel(name = "规格")
    @TableField("specification")
    private String specification;

    /** 颜色 */
    @Excel(name = "颜色")
    @TableField("color")
    private String color;

    /** 区域 */
    @Excel(name = "区域")
    @TableField("area")
    private String area;

    /** 材质 */
    @Excel(name = "材质")
    @TableField("texture")
    private String texture;

    /** 分类 */
    @Excel(name = "分类")
    @TableField("item_type")
    private String itemType;

    /** 单位 */
    @Excel(name = "单位")
    @TableField("unit")
    private String unit;

    /** 主图 */
    @Excel(name = "主图")
    @TableField("img_url")
    private String imgUrl;

    /** 零售价 */
    @Excel(name = "出厂价")
    @TableField("purchase_price")
    private BigDecimal purchasePrice;

    /** 零售价 */
    @Excel(name = "零售价")
    @TableField("retail_price")
    private BigDecimal retailPrice;

    /** 零售价 */
    @Excel(name = "总价")
    @TableField("total_price")
    private BigDecimal totalPrice;

    /** 数量 */
    @Excel(name = "数量")
    @TableField("quantity")
    private BigDecimal quantity;

}
